[LINUX] Fix backward compatibility with hypervisors which do not support kexec.
authorIan Campbell <ian.campbell@xensource.com>
Thu, 30 Nov 2006 18:21:50 +0000 (18:21 +0000)
committerIan Campbell <ian.campbell@xensource.com>
Thu, 30 Nov 2006 18:21:50 +0000 (18:21 +0000)
commitfcd9174e64b1f0f5f084c3d7f3c2c59c0dbf34ee
tree9c3badbcfe3aa30fd7f2cb871800ce9ef78f33c9
parent69f4bf70a085c6e395a73e71c0e70cec43d7a1a6
[LINUX] Fix backward compatibility with hypervisors which do not support kexec.

Also do not rely on side effects in BUG_ON(x) -- use if(x) BUG() instead.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c